import React from 'react'
import { Button, Card, Toast } from 'antd-mobile'
import Mycard from './Mycard'
function Mylist({ data }) {
    console.log('data', data)
    return (
        <div>
            {
                data.length > 0 && data.map((item, index) => {
                    // 卡片封装
                    return <Mycard key={index} item={item} index={index}></Mycard>
                })
            }
        </div>
    )
}

export default Mylist
